Peel potato and place it in a bowl of water till use to avoid discoloration.
Grate potato and squeeze out the moisture.
Add salt to the thinly sliced onion and mix well with your hands applying little pressure. This will release the moisture from the onion.
Add potato, green chilly, coriander leaves, curry leaves, red chilly powder, garam masala and gram flour. Mix well.
Heat oil in a pan.
Take a small portion, shape it loosely with your fingers and drop it into the oil.
Flip and cook until golden.